(function($) {
    app.push(function(){
        $('a').live('click',function(){
            var el = $(this);
            if(el.attr('data-fire')){
                app.main.fire(el.attr('data-fire'),el.attr('data-fire-data')||false);
                return false;
            }
            if(el.hasClass('noAjax') || el.attr('href') == 'javascript:void(0)') return true;
            app.main.ajaxObserver({
            	href: el.attr('href'),
            	rel: el.attr('rel')
            });
            return false;
		});
        app.elements['general_content'] = $('#general_content');
        app.decorate.setEvents('body');
    });
})(jQuery);